package luccy.exception;

public class IllegalAccessRuntimeException extends LuccyRuntimeException {

	static final long serialVersionUID = 1L;

	private Class targetClass;

	public IllegalAccessRuntimeException(Class targetClass,
			IllegalAccessException cause) {
		super(cause, "ELCY0005", targetClass.getName(), cause.getMessage());
		this.targetClass = targetClass;
	}

	public Class getTargetClass() {
		return targetClass;
	}
}
